---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  8_MarriedCouples_readInCps.log
  log type:  text
 opened on:  16 Apr 2018, 10:39:18

. ***************************************************************************;
. * READ IN CPS DATA FROM IPUMS FOR EITC EMPLOYMENT PROJECT ;
. * MARRIED VERSION ;
. ***************************************************************************;
. local beginTime "DateTime: $S_DATE $S_TIME";

. set more off ;

. set linesize 200 ;

. set mem 5g ;
set memory ignored.
    Memory no longer needs to be set in modern Statas; memory adjustments are performed on the fly automatically.

. cd "$dataDir" ;

. ***************************************************************************;
. * DEFINE STUFF THAT WE DONT EVER WANT TO COMMENT OUT. ;
. ***************************************************************************;
. local technical_vars "year serial relate famunit pernum wtsupp spmwt hwtsupp";

. local demographic_vars "age marst race sex hispan educ
>         statefip wkswork1 uhrswork wksunem1 whynwly mthwelfr schlcoll
>         nfams nmothers momloc momrule poploc poprule sploc foodstmp
>         pubhous rentsub heatsub lunchsub offtotval stampval heatval union
>         qincwage poverty offcutoff offpov spmpov spmthresh spmtotres spmeitc
>         spmfedtaxac spmfedtaxbc" ;

. local income_vars "inctot incwage incbus incfarm incss incwelfr incgov
>         incaloth incretir incssi incdrt incint incunemp incwkcom incvet incsurv
>         incdisab incdivid incrent inceduc incchild incalim incasist incother  ";

. ***************************************************************************;
. * READ IN IPUMS CPS DATA ;
. ***************************************************************************;
. * A LIST OF VARIABLES WE WANT TO KEEP FROM THE DATA ;
. local keepList "`technical_vars' `demographic_vars' `income_vars'" ;

. local cps "cps_00017";

. capture erase `cps'.do ;

. capture erase `cps'.dat ;

. capture erase `cps'.dat.gz ;

. local from "$rawDir\\`cps'.dat.gz" ;

. local to "$dataDir\\`cps'.dat.gz"  ;

. copy `from' `to' , replace;

. shell 7za e `cps'.dat.gz ;

. local from "$rawDir\\`cps'.do" ;

. local to "$dataDir\\`cps'.do"  ;

. copy `from' `to' , replace;

. quietly do `cps'.do ;

. keep `keepList' ;

. gen incwageraw = incwage ;

. foreach var of varlist `income_vars' {;
  2.         qui replace `var' = . if (`var' == -19998 | `var' == -9999 |
>                 `var' == 9999 | `var' == 99997 | `var' == 99998 | `var' == 99999 |
>                 `var' == 999997 | `var' == 9999997 | `var' == 999999 |
>                 `var' == 99999997 | `var' >= 9999999 | `var' == 1099999 | `var'>1000000 |
>                 inctot == .);
  3.         };

. foreach var of varlist `income_vars' {;
  2.         qui replace `var' = 0 if `var' == . ;
  3.         };

. summ `income_vars'  ;

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
      inctot |  6,076,183     18034.8    32218.48     -29647    1000000
     incwage |  6,076,183    13679.27     29122.8          0    1000000
      incbus |  6,076,183    872.9827    8870.666     -19882     850000
     incfarm |  6,076,183    100.2237    3019.219     -16000     550000
       incss |  6,076,183    1056.231    3390.951          0      50000
-------------+---------------------------------------------------------
    incwelfr |  6,076,183    41.14476     464.745          0      25000
      incgov |  6,076,183    26.29194    381.1141          0      85000
    incaloth |  6,076,183    23.06841    435.2779          0      93600
    incretir |  6,076,183    594.8235    3980.603          0     223998
      incssi |  6,076,183    73.75355     741.366          0      25000
-------------+---------------------------------------------------------
      incdrt |  6,076,183    45.37569    870.3989      -9990      96050
      incint |  6,076,183    503.5771    3013.785          0      99759
    incunemp |  6,076,183    82.30337    903.4856          0      98800
    incwkcom |  6,076,183    29.71038    697.8221          0      99961
      incvet |  6,076,183    60.09821    1119.068          0      98411
-------------+---------------------------------------------------------
     incsurv |  6,076,183    71.69611    1509.675          0     296138
    incdisab |  6,076,183    44.41491    999.1403          0     146968
    incdivid |  6,076,183    207.5637    2079.057          0     100000
     incrent |  6,076,183     141.414    2166.293      -9960      99360
     inceduc |  6,076,183    95.22036    1100.801          0      85000
-------------+---------------------------------------------------------
    incchild |  6,076,183    64.16382    799.3326          0      98000
     incalim |  6,076,183    11.30533    567.1272          0      96000
    incasist |  6,076,183    29.83736     748.831          0      96000
    incother |  6,076,183    23.22233    652.0811          0      99600

. save WorkingFullCPSTEMP_married, replace ;
file WorkingFullCPSTEMP_married.dta saved

. capture erase `cps'.do ;

. capture erase `cps'.dat ;

. capture erase `cps'.dat.gz ;

. clear ;

.  ***************************************************************************;
. * BUILDING A MARRIED COUPLE FILE FROM THE INDIVIDUAL FILE ;
. ***************************************************************************;
. local ind_vars "wtsupp age race hispan educ schlcoll whynwly incwageraw";

. local hh_vars   "statefip stampval heatval poverty offcutoff offpov spmpov
>         spmthresh spmtotres spmeitc spmfedtaxac spmfedtaxbc";

. use WorkingFullCPSTEMP_married;

. keep year serial sploc pernum sex `ind_vars' `income_vars';

. keep if sex == 1 ;
(3,137,849 observations deleted)

. drop sex ;

. foreach var in `ind_vars' `income_vars' {;
  2.         rename `var' `var'H;
  3.         };

. rename pernum husband_pernum ;

. rename sploc pernum ;

. sort year serial pernum ;

. save men, replace ;
(note: file men.dta not found)
file men.dta saved

. clear ;

. use WorkingFullCPSTEMP_married ;

. keep year serial pernum sex marst `ind_vars' `income_vars' `hh_vars';

. keep if marst == 1 ;
(3,538,229 observations deleted)

. keep if sex == 2 ;
(1,268,977 observations deleted)

. drop sex marst ;

. foreach var in `ind_vars' `income_vars' {;
  2.         rename `var' `var'W;
  3.         };

. sort year serial pernum ;

. by year serial : gen hhsize = _N ;

. merge 1:m year serial pernum using men ;
(label wtsupp_lbl already defined)
(label age_lbl already defined)
(label race_lbl already defined)
(label hispan_lbl already defined)
(label educ_lbl already defined)
(label schlcoll_lbl already defined)
(label whynwly_lbl already defined)
(label inctot_lbl already defined)
(label incwage_lbl already defined)
(label incbus_lbl already defined)
(label incfarm_lbl already defined)
(label incdivid_lbl already defined)

    Result                           # of obs.
    -----------------------------------------
    not matched                     1,670,315
        from master                       479  (_merge==1)
        from using                  1,669,836  (_merge==2)

    matched                         1,268,498  (_merge==3)
    -----------------------------------------

. keep if _merge == 3 ;
(1,670,315 observations deleted)

. drop _merge ;

. rm men.dta ;

. rename pernum wife_pernum ;

. sort year serial wife_pernum ;

. save marriedCouples, replace ;
file marriedCouples.dta saved

. clear ;

. use WorkingFullCPSTEMP_married ;

. keep year serial momloc schlcoll age wtsupp;

. keep if (age<=18 | (age>18 & age<24 & (schlcoll==1|schlcoll==3))) ;
(4,121,203 observations deleted)

. gen qualChild = 1 ;

. sort year serial momloc ;

. collapse (sum) qualChild wtsupp, by(year serial momloc);

. rename momloc wife_pernum ;

. rename wtsupp chldwt ;

. sort year serial wife_pernum ;

. save qualifyingChildren, replace ;
(note: file qualifyingChildren.dta not found)
file qualifyingChildren.dta saved

. clear ;

. use marriedCouples ;

. merge 1:1 year serial wife_pernum using qualifyingChildren ;

    Result                           # of obs.
    -----------------------------------------
    not matched                       944,940
        from master                   583,419  (_merge==1)
        from using                    361,521  (_merge==2)

    matched                           685,079  (_merge==3)
    -----------------------------------------

. drop if _merge == 2 ;
(361,521 observations deleted)

. drop _merge ;

. rm marriedCouples.dta ;

. rm qualifyingChildren.dta ;

. replace qualChild = 0 if qualChild == .;
(583,419 real changes made)

. local temp "" ;

. foreach v in `income_vars' {;
  2.         local temp "`temp' `v'H `v'W" ;
  3.         };

. local income_vars "`temp'" ;

. * EMPLOYED - NOTE THAT THIS IS INDIVIDUAL SPECIFIC. ;
. *summ incwageraw* , d ;
. gen byte employedW = incwagerawW>0 ;

. gen byte employedH = incwagerawH>0 ;

. *tabstat employedH employedW [aw=wtsupp], by(year) s(mean) ;
. * CREATE UNIFORM EDUCATION BINS ;
. foreach i in H W {;
  2.         gen byte hgc`i' = . ;
  3.         replace hgc`i' = 11 if floor(educ`i'/10) < 7;
  4.         replace hgc`i' = 12 if floor(educ`i'/10) == 7;
  5.         replace hgc`i' = 13 if floor(educ`i'/10) > 7 & floor(educ`i'/10) < 11;
  6.         replace hgc`i' = 16 if floor(educ`i'/10) == 11;
  7.         replace hgc`i' = 17 if floor(educ`i'/10) >= 12 & floor(educ`i'/10) < 90 ;
  8.         *tab year hgc`i' , missing;
.         };
(1,268,498 missing values generated)
(218,736 real changes made)
(420,343 real changes made)
(276,926 real changes made)
(208,765 real changes made)
(143,728 real changes made)
(1,268,498 missing values generated)
(189,277 real changes made)
(474,228 real changes made)
(300,679 real changes made)
(205,528 real changes made)
(98,786 real changes made)

. * TAX YEAR ;
. replace year = year - 1;
(1,268,498 real changes made)

. ***************************************************************************;
. * RUN THROUGH TAXSIM ;
. ***************************************************************************;
. * STATE ;
. gen byte state = . ;
(1,268,498 missing values generated)

. replace state = statefip   if statefip <= 2 ;
(33,376 real changes made)

. replace state = statefip-1 if statefip >= 4  & statefip <= 6 ;
(140,623 real changes made)

. replace state = statefip-2 if statefip >= 8  & statefip <= 13 ;
(139,905 real changes made)

. replace state = statefip-3 if statefip >= 15 & statefip <= 42 ;
(691,957 real changes made)

. replace state = statefip-4 if statefip >= 44 & statefip <= 51 ;
(190,971 real changes made)

. replace state = statefip-5 if statefip >= 53 & statefip <= 56 ;
(71,666 real changes made)

. *tab state, missing ;
. gen byte depx = min(qualChild, 5) ;

. gen byte depchild = depx ;

. gen byte mstat = 2 ;

. gen pwages = max(incwageH+incbusH+incfarmH,0) ;

. gen swages = max(incwageW+incbusW+incfarmW,0) ;

. gen byte dividends = 0 ;

. gen byte agex=0 ;

. egen gssi = rowtotal(incss* incssi* incsurv* incdisab*);

. egen pensions = rowtotal(incretir*);

. egen ui = rowtotal(incunemp*);

. gen otherprop = min(incwageH+incbusH+incfarmH,0) +
>         min(incwageW+incbusW+incfarmW,0) +
>         incalothH + incalimH + incotherH + incdrtH + incintH + incdividH + increntH +
>         incalothW + incalimW + incotherW + incdrtW + incintW + incdividW + increntW ;

. egen transfers = rowtotal(incwelfr* incgov* incwkcom* incvet* inceduc*
>         incchild* incasist*) ;

. sort year serial ;

. save cpsBeforeTaxsim, replace ;
file cpsBeforeTaxsim.dta saved

. keep year serial wife_pernum state agex depx depchild mstat
>         pwages swages dividends gssi pensions ui otherprop transfers;

. capture rm msg.txt;

. capture rm taxsim_out.dta;

. ankurs_taxsim, full replace;
begin taxsim9.ado on 16 Apr 2018 (version 9.0)
TAXSIM results will be merged to original file
TAXSIM results will be saved in taxsim_out.dta
Full Intermediate Calculations Requested
Marginal rate with respect to primary earner
Variable rentpaid is not in the dataset.  Generating rentpaid = 0 
Variable proptax is not in the dataset.  Generating proptax = 0 
Variable otheritem is not in the dataset.  Generating otheritem = 0 
Variable childcare is not in the dataset.  Generating childcare = 0 
Variable mortgage is not in the dataset.  Generating mortgage = 0 
Variable stcg is not in the dataset.  Generating stcg = 0 
Variable ltcg is not in the dataset.  Generating ltcg = 0 
1268498 records out of 1268498 are left for taxsim to process
 
TAXSIM results are being merged with workspace by taxsimid
(note: variable year was int, now float to accommodate using data's values)
(note: variable state was byte, now float to accommodate using data's values)
 

. capture rm msg.txt;

. capture rm taxsim_out.dta;

. keep year serial wife_pernum fiitax fica siitax v25 v39 v22 v23 v19 ;

. rename v25 fedEIC;

. rename v39 stEIC ;

. rename v22 ctc ;

. rename v23 actc ;

. rename v19 fedRegTax ;

. sort year serial wife_pernum ;

. save CYtaxsim, replace ;
(note: file CYtaxsim.dta not found)
file CYtaxsim.dta saved

. clear ;

. use cpsBeforeTaxsim ;

. keep year serial wife_pernum state agex depx depchild mstat
>         pwages swages dividends gssi pensions ui otherprop transfers;

. sort year;

. merge year using cpi;
(note: you are using old merge syntax; see [D] merge for new syntax)
variable year does not uniquely identify observations in the master data

. keep if _merge == 3 ;
(66 observations deleted)

. drop _merge ;

. rename cpi currentYearCpi ;

. replace year = year - 1 ;
(1,268,498 real changes made)

. sort year;

. merge year using cpi;
(note: you are using old merge syntax; see [D] merge for new syntax)
variable year does not uniquely identify observations in the master data

. keep if _merge == 3 ;
(66 observations deleted)

. drop _merge ;

. rename cpi priorYearCpi ;

. foreach dollar of varlist pwages swages gssi
>                 otherprop pensions transfers ui {;
  2.         replace `dollar' = `dollar' * (priorYearCpi/currentYearCpi);
  3.         };
(1,016,310 real changes made)
(802,465 real changes made)
(277,144 real changes made)
(862,919 real changes made)
(166,886 real changes made)
(157,739 real changes made)
(66,131 real changes made)

. capture rm msg.txt;

. capture rm taxsim_out.dta;

. ankurs_taxsim, full replace;
begin taxsim9.ado on 16 Apr 2018 (version 9.0)
TAXSIM results will be merged to original file
TAXSIM results will be saved in taxsim_out.dta
Full Intermediate Calculations Requested
Marginal rate with respect to primary earner
Variable rentpaid is not in the dataset.  Generating rentpaid = 0 
Variable proptax is not in the dataset.  Generating proptax = 0 
Variable otheritem is not in the dataset.  Generating otheritem = 0 
Variable childcare is not in the dataset.  Generating childcare = 0 
Variable mortgage is not in the dataset.  Generating mortgage = 0 
Variable stcg is not in the dataset.  Generating stcg = 0 
Variable ltcg is not in the dataset.  Generating ltcg = 0 
1268498 records out of 1268498 are left for taxsim to process
 
TAXSIM results are being merged with workspace by taxsimid
(note: variable year was int, now float to accommodate using data's values)
(note: variable state was byte, now float to accommodate using data's values)
 

. capture rm msg.txt;

. capture rm taxsim_out.dta;

. keep year serial wife_pernum v25 v39 v22 v23 v19 priorYearCpi currentYearCpi ;

. rename v25 fedEIC_ly;

. rename v39 stEIC_ly;

. rename v22 ctc_ly;

. rename v23 actc_ly;

. rename v19 fedRegTax_ly ;

. foreach dollar of varlist fedEIC_ly stEIC_ly ctc_ly actc_ly fedRegTax_ly {;
  2.         replace `dollar' = `dollar' * (currentYearCpi/priorYearCpi);
  3.         };
(128,680 real changes made)
(23,046 real changes made)
(262,096 real changes made)
(56,669 real changes made)
(1,062,845 real changes made)

. drop priorYearCpi currentYearCpi ;

. replace year = year + 1 ;
(1,268,498 real changes made)

. sort year serial wife_pernum;

. save LYtaxsim, replace ;
(note: file LYtaxsim.dta not found)
file LYtaxsim.dta saved

. clear ;

. use cpsBeforeTaxsim ;

. merge 1:1 year serial wife_pernum using CYtaxsim ;
(note: variable year was int, now float to accommodate using data's values)

    Result                           # of obs.
    -----------------------------------------
    not matched                             0
    matched                         1,268,498  (_merge==3)
    -----------------------------------------

. drop _merge ;

. merge 1:1 year serial wife_pernum using LYtaxsim ;

    Result                           # of obs.
    -----------------------------------------
    not matched                             0
    matched                         1,268,498  (_merge==3)
    -----------------------------------------

. drop _merge ;

. drop depx depchild mstat pwages swages dividends gssi pensions ui
>         otherprop transfers;

. *rm cpsBeforeTaxsim.dta ;
. rm CYtaxsim.dta ;

. rm LYtaxsim.dta ;

. local taxsim_output "fiitax fica siitax fedEIC stEIC ctc actc fedRegTax
>         fedEIC_ly stEIC_ly ctc_ly actc_ly fedRegTax_ly" ;

. ***************************************************************************;
. * INFLATION - EVERYTHING IN 2012 ;
. ***************************************************************************;
. sort year;

. merge year using cpi;
(note: you are using old merge syntax; see [D] merge for new syntax)
variable year does not uniquely identify observations in the master data

. tab _merge;

     _merge |      Freq.     Percent        Cum.
------------+-----------------------------------
          2 |         66        0.01        0.01
          3 |  1,268,498       99.99      100.00
------------+-----------------------------------
      Total |  1,268,564      100.00

. keep if _merge == 3 ;
(66 observations deleted)

. drop _merge ;

. foreach dollar of varlist `income_vars' `taxsim_output'
>                 stampval heatval  {;
  2.         qui replace `dollar' = `dollar' * (232.957/cpi);
  3.         };

. replace heatval = 0 if heatval==.;
(80,893 real changes made)

. replace heatval = heatval*(2+qualChild)/(hhsize) ;
(21,971 real changes made)

. replace stampval = 0 if stampval==. ;
(0 real changes made)

. replace stampval = stampval*(2+qualChild)/(hhsize) ;
(52,166 real changes made)

. gen atti = inctotH+inctotW+stampval+heatval-fiitax-siitax-fica ;

. summ ;

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        year |  1,268,498    1996.408    10.28971       1979       2013
      serial |  1,268,498    42234.99    25277.44          1      99985
    statefip |  1,268,498    28.31385    15.64099          1         56
     heatval |  1,268,498    28.59401    312.7929          0    35467.5
    stampval |  1,268,498    515.7575    3965.953          0   250242.7
-------------+---------------------------------------------------------
 wife_pernum |  1,268,498     1.83007     .585833          1         17
      spmpov |    160,714    .0910126    .2876279          0          1
 spmfedtaxac |    160,714    9978.095    24095.44     -20886     893415
     spmeitc |    160,714    416.1793    1207.371          0      14060
 spmfedtaxbc |    160,714    10911.77    23725.44          0     893415
-------------+---------------------------------------------------------
   spmtotres |    160,714    68782.52    58227.46    -832424    1572920
   spmthresh |    160,714    22972.75    8041.468    10984.5    87265.2
     wtsuppW |  1,268,498    1537.959    914.0861          0   16262.73
        ageW |  1,268,498    45.35006    14.71453          0         99
       raceW |  1,268,498    137.8368    130.0863        100        830
-------------+---------------------------------------------------------
     hispanW |  1,268,498    30.34833    110.5653          0        902
       educW |  1,268,498    80.65015     25.0776          1        125
   schlcollW |  1,044,237    .4027955    1.346839          0          5
    whynwlyW |  1,268,498    1.256328    1.798769          0          7
     inctotW |  1,268,498    24881.76    32623.16  -41750.09    1068336
-------------+---------------------------------------------------------
    incwageW |  1,268,498    19476.71    30317.58          0    1068336
     incbusW |  1,268,498    913.5337    8513.454  -30785.56   710892.1
    incfarmW |  1,268,498    60.17743    2553.011  -25670.19   567390.4
      incssW |  1,268,498    1270.723    3634.508          0   80606.35
   incwelfrW |  1,268,498    44.77617    659.3437          0   59144.13
-------------+---------------------------------------------------------
     incgovW |  1,268,498    35.25102    549.3258          0   72419.45
   incalothW |  1,268,498    39.10778    754.6961          0   160438.7
   incretirW |  1,268,498    491.9068    3721.569          0   361120.4
     incssiW |  1,268,498    55.68947     713.598          0   36286.14
     incdrtW |  1,268,498      150.88    2345.816  -25064.02   208394.5
-------------+---------------------------------------------------------
     incintW |  1,268,498     1139.18    4992.108          0   212039.8
   incunempW |  1,268,498     91.1778    979.5037          0   105883.8
   incwkcomW |  1,268,498    31.06375    750.1609          0   151626.4
     incvetW |  1,268,498    11.43358    532.6789          0   115227.6
    incsurvW |  1,268,498    55.71745    1737.526          0   205093.4
-------------+---------------------------------------------------------
   incdisabW |  1,268,498    44.65089    1050.162          0   149719.9
   incdividW |  1,268,498    403.4659    3113.521          0   188102.4
    increntW |  1,268,498    237.9193    3132.394   -18410.1   177228.5
    inceducW |  1,268,498    70.34431    943.2298          0   69441.82
   incchildW |  1,268,498    97.50116    1017.792          0   99435.47
-------------+---------------------------------------------------------
    incalimW |  1,268,498    3.109562    319.3121          0   96150.21
   incasistW |  1,268,498    18.22174     662.248          0   143547.4
   incotherW |  1,268,498    41.01433    944.4768          0   157991.6
      offpov |  1,268,498    1.938751    .2397862          1          2
   offcutoff |  1,268,498    14113.04    6057.355       3732      51844
-------------+---------------------------------------------------------
     poverty |  1,268,498    22.09627    3.128687         10         23
 incwagerawW |  1,268,498    14193.02    29569.94          0    9999999
      hhsize |  1,268,498    1.019871    .1469415          1          5
husband_pe~m |  1,268,498    1.283151    .6429906          1         18
     wtsuppH |  1,268,498    1537.959     914.086          0   16262.73
-------------+---------------------------------------------------------
        ageH |  1,268,498     47.8961    15.11052          0         99
       raceH |  1,268,498    135.0435     124.209        100        830
     hispanH |  1,268,498    29.76027    110.1481          0        902
       educH |  1,268,498    81.22468    27.53169          1        125
   schlcollH |  1,044,237    .2904168     1.16079          0          5
-------------+---------------------------------------------------------
    whynwlyH |  1,268,498    .7897632    1.750133          0          7
     inctotH |  1,268,498    58248.65    58730.58  -48245.03    1068336
    incwageH |  1,268,498     44605.8       55898          0    1068336
     incbusH |  1,268,498    3696.948    21100.82  -26565.07   862450.5
    incfarmH |  1,268,498    522.1889    7149.368   -31413.9     550000
-------------+---------------------------------------------------------
      incssH |  1,268,498    2571.433    6115.169          0   80606.35
   incwelfrH |  1,268,498    26.15743    544.7134          0   48278.83
     incgovH |  1,268,498    160.5654    1559.767          0   190580.8
   incalothH |  1,268,498    38.95627    995.4212          0   181054.7
   incretirH |  1,268,498    2383.347    9316.192          0   297608.6
-------------+---------------------------------------------------------
     incssiH |  1,268,498    56.90624    802.5842          0   38214.73
     incdrtH |  1,268,498    198.6618    2857.648  -27412.03   192208.7
     incintH |  1,268,498    1320.202    5657.172          0   212039.8
   incunempH |  1,268,498    189.5849    1511.162          0   121577.9
   incwkcomH |  1,268,498    92.18171    1461.725          0   145094.3
-------------+---------------------------------------------------------
     incvetH |  1,268,498    212.1887    2366.941          0   141558.3
    incsurvH |  1,268,498    74.59079    2053.618          0   246079.3
   incdisabH |  1,268,498    126.2259    2047.669          0   205505.5
   incdividH |  1,268,498    530.2624    3728.261          0   169326.1
    increntH |  1,268,498    362.9648    3966.711  -20301.71   198915.8
-------------+---------------------------------------------------------
    inceducH |  1,268,498    64.91248    996.3496          0   115854.7
   incchildH |  1,268,498    5.594022    207.7327          0   49143.44
    incalimH |  1,268,498    .6078029    154.5446          0   83598.81
   incasistH |  1,268,498    21.65689    773.7107          0   143547.4
   incotherH |  1,268,498    51.05072    1233.655          0   187117.1
-------------+---------------------------------------------------------
 incwagerawH |  1,268,498    31869.93     52695.1          0    9999999
   qualChild |  1,268,498    1.070438    1.231791          0         18
      chldwt |    685,079    2739.616     2197.54          0   47820.14
   employedW |  1,268,498    .5957234    .4907517          0          1
   employedH |  1,268,498    .7351387    .4412595          0          1
-------------+---------------------------------------------------------
        hgcH |  1,268,498    13.27071    2.059592         11         17
        hgcW |  1,268,498     13.1253    1.912917         11         17
       state |  1,268,498    25.46125    14.69302          1         51
        agex |  1,268,498           0           0          0          0
      fiitax |  1,268,498    11170.43    20134.57  -10008.37   555091.1
-------------+---------------------------------------------------------
      siitax |  1,268,498    2506.397    4296.528  -2764.153   134317.8
        fica |  1,268,498    9256.227    7330.878          0    79147.6
   fedRegTax |  1,268,498    11794.68    19798.25          0   555091.1
         ctc |  1,268,498    347.8308    797.1143          0   6330.353
        actc |  1,268,498    68.63502    374.6675          0   5429.296
-------------+---------------------------------------------------------
      fedEIC |  1,268,498    191.4946    763.1739          0   6142.706
       stEIC |  1,268,498    7.467323     83.5115          0   3071.353
fedRegTax_ly |  1,268,498    11955.78    20020.37          0   554501.7
      ctc_ly |  1,268,498     332.774    779.6818          0   6330.353
     actc_ly |  1,268,498    62.17514    356.0613          0   5429.296
-------------+---------------------------------------------------------
   fedEIC_ly |  1,268,498    182.4067    739.2944          0   6142.706
    stEIC_ly |  1,268,498    6.845717     79.9909          0   3071.353
         cpi |  1,268,498    157.7699    46.50083       72.6    232.957
        atti |  1,268,498     60741.7    44348.69  -58107.69    1058066

. save cpsAfterTaxsim, replace ;
file cpsAfterTaxsim.dta saved

. */
> *;
. disp "`beginTime'" ;
DateTime: 16 Apr 2018 10:39:18

. disp "DateTime: $S_DATE $S_TIME";
DateTime: 16 Apr 2018 10:59:08

. log close ;
      name:  <unnamed>
       log:  8_MarriedCouples_readInCps.log
  log type:  text
 closed on:  16 Apr 2018, 10:59:08
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
